﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<PandaMarket.Models.ProfileModel>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	ViewProfile
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <h2>ViewProfile</h2>

    <fieldset>
        <legend>Fields</legend>
        
        <div class="display-label">UserName</div>
        <div class="display-field"><%= Html.Encode(Model.UserName) %></div>
        
        <div class="display-label">Mật khẩu</div>
        <%= Html.ActionLink("Đổi mật khẩu" , "ChangePassword", "Account") %>
        
        <div class="display-label">Email</div>
        <div class="display-field"><%= Html.Encode(Model.Email) %></div>
        
        <div class="display-label">Avatar</div>
        <img src='<%= Html.Encode(Model.Avatar) %>' alt="" title=""/>
        
        <div class="display-label">HoTen</div>
        <div class="display-field"><%= Html.Encode(Model.HoTen) %></div>
        
        <div class="display-label">NgaySinh</div>
        <div class="display-field"><%= Html.Encode(String.Format("{0:g}", Model.NgaySinh)) %></div>
        
        <div class="display-label">NoiSinh</div>
        <div class="display-field"><%= Html.Encode(Model.NoiSinh) %></div>
        
        <div class="display-label">DiaChi</div>
        <div class="display-field"><%= Html.Encode(Model.DiaChi) %></div>
        
        <div class="display-label">SoDienThoai</div>
        <div class="display-field"><%= Html.Encode(Model.SoDienThoai) %></div>
        
        <div class="display-label">MaTheTinDung</div>
        <div class="display-field"><%= Html.Encode(Model.MaTheTinDung) %></div>
        
        <div class="display-label">GioiTinh</div>
        <div class="display-field"><%= Html.Encode(Model.GioiTinh) %></div>
        
        <div class="display-label">DiemTinCayBan</div>
        <div class="display-field"><%= Html.Encode(Model.DiemTinCayBan) %></div>
        
        <div class="display-label">DiemTinCayMua</div>
        <div class="display-field"><%= Html.Encode(Model.DiemTinCayMua) %></div>
        
        <div class="display-label">BiKhoa</div>
        <div class="display-field"><%= Html.Encode(Model.BiKhoa) %></div>
                
    </fieldset>
    <p>
        <%= Html.ActionLink("Edit", "EditProfile", "Account") %> |
        <%= Html.ActionLink("Back" , "Index", "Home") %>
    </p>

</asp:Content>

